import request from '@/utils/request'

export const ShopService = {
  getShopStats() {
    return request.get('/api/shop/stats')
  },
  
  getSalesData(params: { range: string }) {
    return request.get('/api/shop/sales', { params })
  },
  
  getTopProducts() {
    return request.get('/api/shop/products/top')
  },
  
  getRecentOrders() {
    return request.get('/api/shop/orders/recent')
  }
} 